#include <iostream>
#include<stdlib.h>

using namespace std;

class CUBOID{
public:
    CUBOID(int l,int h,int d);
    int volumn( ){return length*height*depth;};
private:
    int length,height,depth;
};

CUBOID::CUBOID(int l,int h,int d)
{
    length=l,height=h,depth=d;
    cout<<"cuboid:"<<"length is"<<l<<", height is"<<h<<", depth is"<<d<<endl;
}

int main ( )
{
    CUBOID a(1,2,3);
    cout<<"volumn="<<a.volumn()<<endl;
    CUBOID b(10,20,30);
    cout<<"volumn="<<b.volumn()<<endl;

   

    system("pause");
    return 0;
}


